<template>
  <div class="not-found container">
    <h1 class="not-found-title">404</h1>
    <p class="not-found-text">很抱歉，您访问的页面不存在</p>
    <router-link to="/" class="not-found-link">返回首页</router-link>
  </div>
</template>

<style scoped>
.not-found {
  text-align: center;
  padding: 5rem 0;
}

.not-found-title {
  font-size: 5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.not-found-text {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #666;
}

.not-found-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-primary);
  color: white;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.not-found-link:hover {
  background-color: var(--color-secondary);
  text-decoration: none;
}
</style>
